//
//  Ltq_imageViewButton.h
//  UI03_homework
//
//  Created by Hanlingyu on 16/7/18.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface Ltq_imageViewButton : UIImageView
NS_ASSUME_NONNULL_BEGIN

@property (nonatomic, strong) UIImage *addImage;
@property (nonatomic, strong) UIColor *backgroundColor;
@property (nonatomic) id target;
@property (nonatomic) SEL acton;

- (instancetype)initWithFrame:(CGRect)frame addImage:(nullable UIImage *)addImage addTarget:(nonnull id)target action:(nonnull SEL)clickAction;

- (void)addImage:(nullable UIImage *)image;

- (void)addTarget:(nonnull id)target action:(nonnull SEL)action forControlEvents:(UIControlEvents)controlEvents;

CF_ASSUME_NONNULL_END
@end
